package com.exam.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author LY
 * @create 2023/10/8 11:44
 * @Description 用户权限
 */
@TableName("sys_user_perms")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysUserPerms {

    /**id*/
    @TableId(type = IdType.AUTO)
    private Long id;
    /**用户id*/
    private Long userId;
    /**权限id*/
    private Long permsId;
}
